﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/QuanLy.master" AutoEventWireup="true"
    CodeFile="Gopy.aspx.cs" Inherits="Admin_Gopy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Label ID="thongbaotrantrung" runat="server" Text=""></asp:Label>
    <asp:Panel ID="panel" Visible="true" runat="server">
        <asp:GridView ID="gvDuLieu" runat="server" AutoGenerateColumns="False" CellPadding="4"
            ForeColor="#333333" GridLines="None" AllowPaging="True" Width="100%" AllowSorting="True"
            OnPageIndexChanging="gvDuLieu_PageIndexChanging" OnRowDeleting="gvDuLieu_RowDeleting"
            OnSorting="gvDuLieu_Sorting">
            <RowStyle BackColor="#EFF3FB" />
            <Columns>
                <asp:BoundField HeaderStyle-HorizontalAlign="left" DataField="magopy" HeaderText="MÃ GÓP Ý"
                    ReadOnly="True" SortExpression="magopy">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField HeaderStyle-HorizontalAlign="left" DataField="ten" HeaderText="TÊN KHÁCH HÀNG"
                    SortExpression="tengopy">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="TIÊU ĐỀ" SortExpression="tieude">
                    <ItemTemplate>
                        <asp:TextBox ID="tieude" ReadOnly="true" runat="server" Text='<%#Eval("tieude")%>'></asp:TextBox>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="NỘI DUNG" SortExpression="noidung">
                    <ItemTemplate>
                        <asp:TextBox ID="noidung" ReadOnly="true" runat="server" Text='<%#Eval("noidung")%>'></asp:TextBox>
                    </ItemTemplate>
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:TemplateField>
                <asp:BoundField HeaderStyle-HorizontalAlign="left" DataField="email" HeaderText="EMAIL"
                    SortExpression="emailgopy">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:CommandField ShowDeleteButton="True" CancelText="KH&#212;NG" DeleteText="&lt;img border='0' src='images/nut/xoa.jpg'&gt;"
                    EditText="SỬA" InsertText="TH&#202;M" NewText="MỚI" SelectText="CHỌN" UpdateText="LƯU" />
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
            <PagerSettings FirstPageText="ĐẦU TI&#202;N" LastPageText="CUỐI C&#217;NG" PageButtonCount="5" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
    </asp:Panel>
</asp:Content>
